<%--
  Created by IntelliJ IDEA.
  User: zhaojian
  Date: 2023/9/11
  Time: 15:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改员工</title>
</head>
<form action="${pageContext.request.contextPath}/update" method="post">
  <table width="800" border="1px solid #ccc">
        <tr>
          <td>id</td>
          <td>
              ${emp.id}
              <input type="hidden" name="id" value="${emp.id}">
          </td>
        </tr>
        <tr>
          <td>姓名:</td>
          <td><input name="name" value="${emp.name}"></td>
        </tr>
        <tr>
          <td>工资:</td>
          <td><input name="salary" value="${emp.salary}"></td>
        </tr>
        <tr>
          <td>年龄:</td>
          <td><input name="age" value="${emp.age}"></td>
        </tr>
        <tr>
          <td colspan="2">
            <input type="submit" value="提交">
          </td>
        </tr>
  </table>
</form>
<body>

</body>
</html>
